package com.base.dataStructure.BlockingQueue;

/**
 * @Author: hdhao
 * @Create: 2023/4/3 - 20:36
 * @Version: v1.0
 */
public interface BlockingQueue<E> {
    void offer(E e) throws InterruptedException;

    boolean offer(E e, long timeout) throws InterruptedException;

    E poll() throws InterruptedException;
}
